package com.charmzenus.message.base;

public class BaseResponseInfo<T> {

    public int code = 0;
    public T data = null;
    public String msg = "success";


    public BaseResponseInfo(String msg) {
        this.msg = msg;
    }

    public BaseResponseInfo(int code) {
        this.code = code;
    }

    public BaseResponseInfo(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public BaseResponseInfo(T data) {
        this.data = data;
    }
}
